﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace iTraffic_ClientWP
{
    public class UrlConfig
    {
        public static string SERVER_HOST = "192.168.1.110/";
        public static string SERVER_CONTEXT_PATH = "iTrafficServer/";
        public static string SERVER_SERVICE_NAME = "/iTrafficCloud.svc";

        public static string SERVICE_URI_STRING = "http://" + SERVER_HOST + SERVER_CONTEXT_PATH + SERVER_SERVICE_NAME;
        public static string GET_THUMBNAIL = "http://" + SERVER_HOST + SERVER_CONTEXT_PATH + "/Thumbnail.ashx?f=";
        public static string UPLOAD_PHOTO = "http://" + SERVER_HOST + SERVER_CONTEXT_PATH + "/Upload.ashx";
        public static string GET_URL_PHOTO = "http://" + SERVER_HOST + SERVER_CONTEXT_PATH + "/Upload.ashx?f=";

        public static string GET_HOT_POINT_LIST = "http://" + SERVER_HOST + SERVER_CONTEXT_PATH + SERVER_SERVICE_NAME + "/HotPoints";
        public static string GET_HOT_POINT_LEVEL_LIST = "http://" + SERVER_HOST + SERVER_CONTEXT_PATH + SERVER_SERVICE_NAME + "/HotPoints_Levels";
        public static string GET_PHOTOS_BY_HOT_POINT = "http://" + SERVER_HOST + SERVER_CONTEXT_PATH + SERVER_SERVICE_NAME + "/getPhotosByHotPointId?id=";
        public static string GET_HOT_POINT_BY_ID = "http://" + SERVER_HOST + SERVER_CONTEXT_PATH + SERVER_SERVICE_NAME + "/getHotPointById?id=";
    }
}
